#ifndef TCPHELPER_H
#define TCPHELPER_H

#include "basetcp.h"

class TcpHelper : public BaseTcp
{
public:
    TcpHelper();
    ~TcpHelper();

private:
    void initTcp();

public slots:
    void slotConnected();
    void slotDisconnected();
    void slotReceive();

    void slotError(QAbstractSocket::SocketError e);
    void slotStateChange(QAbstractSocket::SocketState);
    void slotWriteData(const QString& buffer, int ctrlNo);
};

#endif // TCPHELPER_H
